package com.henu.cee_service.service.impl;

import com.henu.cee_service.service.FillCEEService;
import com.henu.cee_service.vo.req.PreferenceReqVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Random;

/**
 * description: FillCEEImpl
 * date: 2020/9/6 17:28
 * author: JSM
 * version: 1.0
 */

@Service
@Slf4j

public class FillCEEServiceImpl implements FillCEEService {
    @Override
    public Integer getGrade(PreferenceReqVO vo) {
        Random r = new Random(vo.getScore());
        int grade = r.nextInt(1000000);
        return grade;
    }
}
